package com.marvin.springBoot.repository.user;

import com.marvin.springBoot.persistence.DemoUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author marvin.ma
 * @create 2017-10-17 22:59
 * @desc demo demo repository
 **/
@Repository
public interface DemoUserRepositoryImpl extends JpaRepository<DemoUserEntity, Long> {

    List<DemoUserEntity> findUserByName(String name);
}
